-
Notifications
You must be signed in to change notification settings - Fork 1
Legacy changelog paths default to CHANGELOG.md #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Folded security policy and best practices into the Deployment Guide under a "Security Considerations" section placed after troubleshooting. This keeps the document focused on simple deployment steps first, with more advanced topics and security details at the end. Changes: - Moved security content to end of DEPLOYMENT.md (after troubleshooting) - Updated CONTRIBUTING.md to reference DEPLOYMENT.md#security-considerations - Deleted SECURITY.md to eliminate duplicate documentation 🤖 Generated with Claude Code Co-Authored-By: Claude <[email protected]>
…mments Enhanced the changelog suggestion comments with: - Added instruction: "To re-generate this suggestion, delete this comment and make a new commit" - If skip-changelog-labels are configured, show a line: "You can skip my suggestions by adding one of these labels to the PR: xxx, yyy" Applied to both: - _format_suggestion_comment() for generated entries - _format_legacy_conversion_comment() for converted legacy entries 🤖 Generated with Claude Code Co-Authored-By: Claude <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review with suggested changes
| - Implemented strict enforcement that prevents lying in your changelog entries (#391) (Oscar Hernandez) | ||
| - Lorem ipsum dolor | ||
| this should be suggested removed | ||
| even if it's many lines (#111) (Jon Blow, Jane Snow) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was converted to logchange format. Let's remove it.
| even if it's many lines (#111) (Jon Blow, Jane Snow) |
|
🔄 I've converted the legacy changelog entry to logchange format! I detected a change to Suggested Logchange Entry for title: Legacy changelog paths default to CHANGELOG.md
type: changed
description: |
Lorem ipsum dolor
this should be suggested removed
even if it's many lines
authors:
- name: Jon Blow
- name: Jane Snow
issues:
- 111What to do next:
Why? |
When users manually edit legacy changelog files, the bot now suggests: 1. Restoring any removed lines (commented on LEFT side of diff) 2. Removing any added lines (commented on RIGHT side of diff) This ensures users don't manually edit these files - they should use the logchange format instead. Changes: - Added extract_removed_lines_with_positions() method to detect removed lines - Updated create_review_comment_with_suggestion() to accept 'side' parameter for commenting on removed (LEFT) or added (RIGHT) lines - Enhanced _post_legacy_removal_suggestions() to handle both types of changes and post separate comments for each group of consecutive lines For example, if a user removes lines 35-37 and 47-50, then adds lines 48-50, the bot will make 3 comments: 1. Restore lines 35-37 2. Restore lines 47-50 3. Remove lines 48-50 🤖 Generated with Claude Code Co-Authored-By: Claude <[email protected]>
No description provided.